package com.miao.miaoserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

@SpringBootApplication(scanBasePackages = "com.miao")
@ComponentScan({"com.miao.security","com.miao"})
@MapperScan({"com.miao.dao","com.miao.generator.dao"})
@EnableElasticsearchRepositories(basePackages = "com.miao.repository")
public class MiaoServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(MiaoServerApplication.class, args);
    }

}
